@import 'highlight.js/scss/github.scss';
@import 'github-markdown-css';

.dark {
  @import 'highlight.js/scss/github-dark.scss';
}

html, body, #__nuxt {
  height: 100%;
  font-family: "Noto Sans", SF Pro SC, SF Pro Text, SF Pro Icons, PingFang SC, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.markdown-body {
  --color-neutral-muted: rgb(var(--color-primary-100));
  --color-canvas-subtle: rgb(var(--color-primary-50));

  background-color: transparent;
  font-size: 0.875rem;
  line-height: 1.5rem;

  code {
    white-space: pre-wrap;
    margin: 0 0.4em;
  }

  .hljs {
    background-color: transparent;
  }

  ol,
  ul {
    list-style: initial;
  }

  li > p {
    display: inline;
  }
}

.dark .markdown-body {
  --color-neutral-muted: rgb(var(--color-primary-800));
  --color-canvas-subtle: rgb(var(--color-gray-900));
}
